html,
body,
#root {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji';
}

.colorWeak {
  filter: invert(80%);
}

.ant-layout {
  min-height: 100vh;
}
.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
  left: unset;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

@media (max-width: 768px) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}
.ant-layout-sider {
  border-radius: 8px; // 设置圆角半径
  margin-top: 2px;
  background-image: linear-gradient(160deg, #238dcf, #238dcf, #31afe6, #2fb9f5) !important;
}
.ant-layout-header {
  border-radius: 15px; // 设置 header 的圆角
  // margin-left: 10px;
}
.ant-pro-global-header-logo h1 {
  color: #2a2c31 !important;
}
.ant-pro-layout .ant-layout-header.ant-pro-layout-header {
  background-image: linear-gradient(160deg, #eaf2fa, #d8eaf8, #c5e7f8, #bce7fa);
}
.ant-pro-layout .ant-pro-sider {
  background-image: linear-gradient(160deg, #238dcf, #238dcf, #31afe6, #2fb9f5);
}

.ant-menu-item-selected {
  border: 1px solid white !important;
  background: #eaf2fa !important;
  border-radius: 15px !important;
}
.ant-menu.ant-menu-inline .ant-menu-sub.ant-menu-inline {
  background: none !important;
}
